package com.ktjy.cvs.service.impl;

import com.ktjy.cvs.mapper.SysUserMapper;
import com.ktjy.cvs.pojo.SysUser;
import com.ktjy.cvs.service.SysUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.transaction.Transactional;

/**
 * @author Jane
 * @date 2024-12-19 10:36
 */

@Service("sysUserService")
public class SysUserServiceImpl implements SysUserService {
    @Autowired
    private SysUserMapper sysUserMapper;
    @Override
    public SysUser findUser(SysUser param) {
        return sysUserMapper.findUser(param);
    }

    @Override
    public int insert(SysUser record) {
        return sysUserMapper.insert(record);
    }
}
